/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : 交易订单实体
 * <p>
 * 一个订单包含多条 item, 但是一次支付
 * 物流可以包含多个
 */

package com.deep.trade.domain.cart;

import com.deep.trade.common.BaseEntity;

import java.math.BigDecimal;

public class CartSku extends BaseEntity {
    private String memberId;            // 会员Id
    private String sellerId;            // seller
    private String shopId;              // shop
    private String ItemId;              // item
    private String ItemName;            // item
    private String imgUrl;              // item
    private String skuId;               // sku id
    private String skuCode;             // sku code
    private long skuVersion;            // sku版本号, 提醒商品发生变化
    private BigDecimal priceMoney;      // sku单价
    private int quantity;               // 商品数量

    // === setter / getter ===

    public CartSku() {
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getItemName() {
        return ItemName;
    }

    public void setItemName(String itemName) {
        ItemName = itemName;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getItemId() {
        return ItemId;
    }

    public void setItemId(String itemId) {
        ItemId = itemId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public long getSkuVersion() {
        return skuVersion;
    }

    public void setSkuVersion(long skuVersion) {
        this.skuVersion = skuVersion;
    }

    public BigDecimal getPriceMoney() {
        return priceMoney;
    }

    public void setPriceMoney(BigDecimal priceMoney) {
        this.priceMoney = priceMoney;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }
}
